package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 23818
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2023-06-21 16:36:24
* @Entity generator.pojo.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysUser> findEmpByUser();

    Page<SysUser> findAllUsers(Page<SysUser> page, @Param("sysUser") SysUser sysUser, @Param("EName") String EName);

    List<SysUser> findAllUsersList(@Param("sysUser") SysUser sysUser, @Param("EName") String EName);
}




